package com.kandinfo.survey.common.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.kandinfo.base.admin.domain.BaseDomain;

/**
 * Description : 问卷domain
 * 
 * @author guyb
 * @version 1.0
 */
@Entity
@Table(name = "questionnaire_info")
public class QuestionnaireInfo extends BaseDomain implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(name = "name")
    private String name; // 问卷名称

    @Column(name = "desc")
    private String desc; // 问卷主题

    @Column(name = "dest_type")
    private Integer destType; // 对象类型: 0病人 1家属

    @Column(name = "status")
    private String status; // 逻辑删除：0 正常使用：1

    public QuestionnaireInfo() {
        super();
    }

    public QuestionnaireInfo(String name, String desc, Integer destType,String status) {
        super();
        this.name = name;
        this.desc = desc;
        this.destType = destType;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getDestType() {
        return destType;
    }

    public void setDestType(Integer destType) {
        this.destType = destType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    
}